<div id="login-holder">
    <div id="logo-login">
	<a href="<?=Yii::app()->controller->createUrl('/main/index')?>"><img src="/images/login/admin_logo1.png" width="240" height="60" alt="" /></a>
    </div>
    <div class="clear"></div>
    <div id="loginbox">
	<div id="login-inner">
	    <?php
	    $form = $this->beginWidget('CActiveForm', array(
		'id' => 'login-form',
		'enableClientValidation' => true,
		'clientOptions' => array(
		    'validateOnSubmit' => true,
		),
	    ));
	    ?>
	    <table border="0" cellpadding="0" cellspacing="0">
		<tr>
		    <th><?php echo $form->labelEx($model, 'email'); ?></th>
		    <td>
			<?php echo $form->textField($model, 'email', array('class' => 'login-inp')); ?>
			<b style="color:#bf0303;"><?php echo $form->error($model, 'email'); ?></b>
		    </td>
		</tr>
		<tr>
		    <th><?php echo $form->labelEx($model, 'password'); ?></th>
		    <td >
			<?php echo $form->passwordField($model, 'password', array('class' => 'login-inp')); ?>
			<b style="color:#bf0303;">		<?php echo $form->error($model, 'password'); ?> </b>
		    </td>
		</tr>
		<tr>
		    <th></th>
		</tr>
		<tr>
		    <th></th>
		    <td><?php echo CHtml::submitButton('Login', array('class' => 'submit-login')); ?></td>
		</tr>
	    </table>
	    <?php $this->endWidget(); ?>
	</div>
	<div class="clear"></div>
    </div>
</div>





